﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace DocRecClient
{
    static class Program
    {
        [DllImport("DocRec.dll", EntryPoint = "fnDllInvokeTest")]
        public static extern int fnDllInvokeTest(int _param);

        [DllImport("DocRec.dll", EntryPoint = "fnDllInvokeStringTest")]
        public static extern void fnDllInvokeStringTest([MarshalAs(UnmanagedType.LPStr)] string param);

        [DllImport("DocRec.dll", EntryPoint = "fnDllInvokeRotaAndClip")]
        public static extern void fnDllInvokeRotaAndClip();

        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new DocRecWindow());
        }
    }
}
